package org.example.dao;

import org.example.dao.impl.UserDaoImpl;
import org.example.vo.Users;

import javax.validation.constraints.AssertTrue;
import java.util.List;

public interface UserDao {
    static UserDao getInstance(){
        return new UserDaoImpl();
    }

    Users userLogin(Users users);

    List<Users> queryUserList(String  username);

    int insertUser(Users users);

    int deleteUser(String id);

    Users queryUserById(String id);

    int updateUser(Users users);

}
